﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace AnOtherBlog.Core
{
	/// <summary>
	/// Mantiene la configuración de un Blog
	/// </summary>
	public class BlogSetting
	{

		#region Constructor
		/// <summary>
		/// Constructor por defecto
		/// hace falta para serializar y deserializar
		/// </summary>
		public BlogSetting()
		{
		}

		#endregion

		#region Fields and Properties

		private string _Name = string.Empty;
		/// <summary>
		/// Nombre del blog
		/// </summary>
		public string Name
		{
			get
			{
				return _Name;
			}
			set
			{
				_Name = value ?? string.Empty;
			}
		}

		private string _Description = string.Empty;
		/// <summary>
		/// Descripcion del blog
		/// </summary>
		public string Description
		{
			get
			{
				return _Description;
			}
			set
			{
				_Description = value ?? string.Empty;
			}
		}

		#endregion

	}
}
